#version 330 core


in vec4 outColor;

//out vec4 color;


void main(void)
{
	/*
	vec3 baseColor = vec3(0.3, 0.6, 0.3);
	float grad[5];
	grad[0] = 0.2;
	grad[1] = 0.4; 
	grad[2] = 0.6; 
	grad[3] = 0.8; 
	grad[4] = 1.0;
	vec4 resColor = vec4(0.0);

	if (outColor.r > 0.8)
		resColor.rgb = baseColor * grad[4];
	else if (outColor.r > 0.6)
		resColor.rgb = baseColor * grad[3];
	else if (outColor.r > 0.4)
		resColor.rgb = baseColor * grad[2];
	else if (outColor.r > 0.2)
		resColor.rgb = baseColor * grad[1];
	else if (outColor.r > 0.0)
		resColor.rgb = baseColor * grad[0];

	resColor.a = 1.0;
	*/
	//color = resColor;
	gl_FragColor = outColor;
}